package com.timoon.app.utils;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;


public class Constantor {

	public static Integer STATUS_DELETED=0;
	public static Integer STATUS_ENABLE=1;
	public static Integer STATUS_DISABLE=2;
	private static Map<Integer,String> statusMap=new HashMap<Integer,String>(){
		{
			this.put(STATUS_DELETED, "已删除");
			this.put(STATUS_ENABLE, "启用");
			this.put(STATUS_DISABLE, "停用");
		}
	};
	
	public static String getStatusFromStatusMapByKey(Integer key){
		return Constantor.statusMap.get(key);
	}
	
	public final static String SESSION_USER_MAPPER="ieuejdhuwhuawefgergredfaw";
	
	/**放在session中，保存当前高亮的菜单里span*/
	public final static String SESSION_HIGH_LIGHT_SPAN="mkfejifahwfawoefawiifaweji";
	
	
	/**商品-状态*/
	public final static Map<Integer,String> PRODUCT_STATUS=new HashMap<Integer,String>(){{
		this.put(0,"已删除");
		this.put(1, "正常显示");
	}};
	
	
}
